﻿@model DTcms.Model.BaseModel
@{
    var groupModel = (DTcms.Model.user_groups)Model.info["groupModel"];
}
<div class="left-260">
    <div class="bg-wrap">
        <div class="avatar-box">
            <a class="img-box" href="@Html.linkurl("usercenter","avatar")">
                @if (Model.userModel.avatar != "")
                {
                    <img src="@Model.userModel.avatar" />
                }
                else
                {
                    <i class="iconfont icon-user-full"></i>
                }
            </a>
            <h3>
                @(Model.userModel.nick_name != "" ? Model.userModel.nick_name : Model.userModel.user_name)
                <p><b>@groupModel.title</b></p>
            </h3>
        </div>
        <div class="center-nav">
            <ul>
                <li>
                    <h2>
                        <i class="iconfont icon-order"></i>
                        <span>订单管理</span>
                    </h2>
                    <div class="list">
                        <p><a href="@Html.linkurl("userorder","list")"><i class="iconfont icon-arrow-right"></i>交易订单</a></p>
                        <p><a href="@Html.linkurl("userorder","close")"><i class="iconfont icon-arrow-right"></i>失效订单</a></p>
                        <p><a href="@Html.linkurl("useraddress")"><i class="iconfont icon-arrow-right"></i>收货地址</a></p>
                    </div>
                </li>
                <li>
                    <h2>
                        <i class="iconfont icon-amount"></i>
                        <span>余额管理</span>
                    </h2>
                    <div class="list">
                        <p><a href="@Html.linkurl("useramount","recharge")"><i class="iconfont icon-arrow-right"></i>账户充值</a></p>
                        <p><a href="@Html.linkurl("useramount","log")"><i class="iconfont icon-arrow-right"></i>充值记录</a></p>
                        <p><a href="@Html.linkurl("useramount","list")"><i class="iconfont icon-arrow-right"></i>收支明细</a></p>
                    </div>
                </li>
                <li>
                    <h2>
                        <i class="iconfont icon-point"></i>
                        <span>积分管理</span>
                    </h2>
                    <div class="list">
                        <p><a href="@Html.linkurl("userpoint","convert")"><i class="iconfont icon-arrow-right"></i>积分兑换</a></p>
                        <p><a href="@Html.linkurl("userpoint","list")"><i class="iconfont icon-arrow-right"></i>积分明细</a></p>
                    </div>
                </li>
                <li>
                    <h2>
                        <i class="iconfont icon-comment"></i>
                        <span>站内消息</span>
                    </h2>
                    <div class="list">
                        <p><a href="@Html.linkurl("usermessage","system")"><i class="iconfont icon-arrow-right"></i>系统消息</a></p>
                        <p><a href="@Html.linkurl("usermessage","accept")"><i class="iconfont icon-arrow-right"></i>收件箱</a></p>
                        <p><a href="@Html.linkurl("usermessage","send")"><i class="iconfont icon-arrow-right"></i>发件箱</a></p>
                    </div>
                </li>
                <li>
                    <h2>
                        <i class="iconfont icon-user"></i>
                        <span>账户管理</span>
                    </h2>
                    <div class="list">
                        <p><a href="@Html.linkurl("usercenter","invite")"><i class="iconfont icon-arrow-right"></i>邀请注册</a></p>
                        <p><a href="@Html.linkurl("usercenter","proinfo")"><i class="iconfont icon-arrow-right"></i>账户资料</a></p>
                        <p><a href="@Html.linkurl("usercenter","avatar")"><i class="iconfont icon-arrow-right"></i>头像设置</a></p>
                        <p><a href="@Html.linkurl("usercenter","password")"><i class="iconfont icon-arrow-right"></i>修改密码</a></p>
                        <p><a href="@Html.linkurl("usercenter","exit")"><i class="iconfont icon-arrow-right"></i>退出登录</a></p>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>